package cate.common.table.activity.destinygate.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class DestinyGateGiftConditionRow extends ERow {
    @NoteField("礼包ID")
    public int giftId;
    @NoteField("解锁条件")
    public String condition;
    @NoteField("额外增加次数")
    public int addTime;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID",0);
        this.giftId = xrw.getInteger("礼包ID",0);
        this.condition = xrw.getString("解锁条件","");
        this.addTime = xrw.getInteger("额外增加次数",0);
    }
}
